package com.tomdxz.dao;

import net.sf.json.JSONArray;

public interface TreeDao {

	public JSONArray getTreeByPid(int pId,String fId);
	
	public JSONArray getAllTreeByPid(int pId,String fId);
	
	public String getFidByUid(int uId);
	
	public JSONArray getWholeTreeByPid(int pId,String fId);
	
	public JSONArray getWholeAllTreeByPid(int pId,String fId);
	
	public String getFidByRid(int rId);
	
	public JSONArray getOwnTreeByPid(int pId);
	
	public JSONArray getAllOwnTreeByPid(int pId);
}
